package com.kongshidian.bean;


/**
 * @author fbl
 *  物流
 */ 
public class Logistics {
	/** 价格  */
	private float price;
	/** 预计多少天 */
	private int days;
	/** 物流公司 */
	private  shippingMethod shippingMethod;
	/** 地区 */
	private MyArea area;

	public Logistics() {
		super();
	}

	public Logistics(float price, int days,
			com.kongshidian.bean.Logistics.shippingMethod shippingMethod,
			MyArea area) {
		super();
		this.price = price;
		this.days = days;
		this.shippingMethod = shippingMethod;
		this.area = area;
	}
	
	



	/** 获取price
	 * @return price
	 */
	public float getPrice() {
		return price;
	}

	/** 设置price 
	 * @param   price  price 
	 */
	public void setPrice(float price) {
		this.price = price;
	}

	/** 获取days
	 * @return days
	 */
	public int getDays() {
		return days;
	}

	/** 设置days 
	 * @param   days  days 
	 */
	public void setDays(int days) {
		this.days = days;
	}

	/** 获取shippingMethod
	 * @return shippingMethod
	 */
	public shippingMethod getShippingMethod() {
		return shippingMethod;
	}

	/** 设置shippingMethod 
	 * @param   shippingMethod  shippingMethod 
	 */
	public void setShippingMethod(shippingMethod shippingMethod) {
		this.shippingMethod = shippingMethod;
	}

	/** 获取area
	 * @return area
	 */
	public MyArea getArea() {
		return area;
	}

	/** 设置area 
	 * @param   area  area 
	 */
	public void setArea(MyArea area) {
		this.area = area;
	}





	/** 物流公司 */
	public static class shippingMethod{
		
		/** 物流公司id  */
		private int id;
		/** 物流公司名称 */
		private String name;
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
	}

}
